package com.customer.mapper;

import com.customer.model.Driver;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author hqw
 * @date 2021/10/25
 */
@Mapper
public interface DriverMapper {

    List<Driver> findAll(String phoneNumber);

    Driver selectOneById(int id);

    int update(Driver driver);

    int deleteOneById(int id);
}
